﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Map.Controllers
{
    public class AdminController : AdminLoginBaseController
    {
        // GET: Admin
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult Point()
        {
            if (Session["Role"].ToString() != "admin")
            {
                return null;
            }
            return View();
        }
        public ActionResult Lines()
        {
            if (Session["Role"].ToString() != "admin")
            {
                return null;
            }
            return View();
        }
        public ActionResult UserList()
        {
            if (Session["Role"].ToString() != "admin")
            {
                return null;
            }
            return View();
        }

        public ActionResult Map()
        {
            return View();
        }
    }
}